@layout("/common/_container.html"){
<style>.ulStyle>li{list-style:none;line-height:55px;}.selectStyle{height:40px;width:70%}</style>
<div id="isDealInfoForm">
    <div class="clearfix">
        <div class="col-sm-12">
            <ul class="ulStyle">
                <li>一级模板类别<input class="selectStyle" name="oneClass" id="oneClass"></li>
                <li>二级模板类别<input class="selectStyle" name="twoClass" id="twoClass"></li>
            </ul>
        </div>
    </div>
    <div class="btn_box col-sm-12">
        <div class="col-sm-4"></div>
        <div class="col-sm-8">
            <button type="button" class="btn" id="submit">提交</button>
            <button type="button" class="btn" onclick="cancel()">取消</button>
        </div>
    </div>
</div>
<script>
    var windowNameIndex = parent.layer.getFrameIndex(window.name); //获取窗口索引
    submit.onclick = function () {
        let param = {
            oneClass:$("#oneClass").val(),
            twoClass:$("#twoClass").val()
        }
        $.post(Feng.ctxPath + "/doctorLooked/addBoLogValue", param, function (data) {
            Feng.alert('操作成功!');
            parent.layer.close(windowNameIndex);
        }).error(function(xhr,errorText,errorType){
            Feng.alert('没有权限，请联系管理员!');
        });
    };

    function cancel() {
        parent.layer.close(windowNameIndex);
    }
</script>
@}